PatternPropertyImage
Type
operator
Summary
The image of a pattern value.
Syntax
the image of <mPattern>
Description
The image of mPattern.
Parameters
Name | Type | Description |
---|---|---|
mPattern | An expression which evaluates to a pattern. |
Examples
// Create a new pattern based on an image file
variable tPattern
put pattern with image from file "images/patternframe1.png" into tPattern
// Store the old image of tPattern
variable tImage
put the image of tPattern into tImage
// Set the pattern to draw the next image
set the image of tPattern to image from file "images/patternframe2.png"